import fetch from './fetch'
const API_DOMAIN = 'http://test.wxapp.iydsj.com';
// const API_DOMAIN = 'http://192.168.100.5:18098';

/*
 * @param  {String} api 接口地址
 * @param  {Objece} params 接口参数参数
 */

function ajaxSubmit(api, params) {
  return fetch(API_DOMAIN, api, params);
}

module.exports = {
  ajaxSubmit
}